####################################
## The Artillery Technology Group ##
####################################

technology = {
	id = 14
	category = artillery
	name = TECH_ARTILLERY_NAME #Localized name
	desc = TECH_ARTILLERY_DESC #Localized description
	
	level = { # Great War Artillery Pieces
		id = 14000
		name = "Great War Artillery Pieces"
		desc = TECH_LEVEL_ARTILLERY_1_DESC 
					
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Semi-Automatic Breech
			id = 14001
			name = TECH_APP_ARTILLERY_1_1_NAME
			desc = TECH_APP_ARTILLERY_1_1_DESC
			
			required = { }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # High-Elevation Gun Carriage
			id = 14050
			name = "High-Elevation Gun Carriage"
			desc = "High-Elevation Gun Carriages were specifically designed for extremely high elevations, required for both Mountain Howitzer and Anti-Aircraft Guns"
			
			required = { }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Infantry Gun 37mm+
			id = 14003
			name = "Infantry Gun 37mm+"
			desc = TECH_APP_ARTILLERY_1_3_DESC
			
			required = { 14001 }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = paratrooper when = now value = 1 }
				command = { type = ground_defense which = paratrooper when = now value = 1 }
				command = { type = soft_attack which = bergsjaeger when = now value = 1 }
				command = { type = ground_defense which = bergsjaeger when = now value = 1 }
				command = { type = soft_attack which = marine when = now value = 1 }
				command = { type = ground_defense which = marine when = now value = 1 }
			}
		}
		application = { # Great War Field Artillery Gun 75mm+
			id = 14051
			name = "Great War Field Artillery Gun 75mm+"
			desc = "The Great War era 75mm+ Field Artillery Gun was used by many nations. It was reliable and had a moderate rate of fire and range. Its penetration power was slightly worse than the heavier guns. Historically this was the French Canon de 75 mle 1897."
			
			required = { 14001 }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = soft_attack which = cavalry when = now value = 1 }
				command = { type = supply_consumption which = cavalry when = now value = 0.1 }
			}
		}
		application = { # Great War Field Artillery Gun 150mm+
			id = 14052
			name = "Great War Field Artillery Gun 150mm+"
			desc = "The Great War era 150mm+ Field Artillery Gun was used by many nations. It was reliable and had an acceptable rate of fire and a medium range. Its greatest deficit was that it only shot High Explosive shells and that ammunition was tricky to move about."
			
			required = { 14001 14051 }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
#				command = { type = soft_attack which = bergsjaeger when = now value = 1 }
#				command = { type = supply_consumption which = bergsjaeger when = now value = 0.1 }
				command = { type = soft_attack which = artillery when = now value = 1 }
				command = { type = supply_consumption which = artillery when = now value = 0.1 }
			}
		}
		application = { # Great War Mountain Gun 75mm+
			id = 14053
			name = "Great War Mountain Gun 75mm+"
			desc = "This was a Great War era 75mm+ Field Gun, but designed to have high elevation and be broken up into several easily manageable pieces that could then be transported by a few men each or pack animals. Historically, this was the Austrian Skoda 75mm Mountain Gun M1915"
			
			required = { 14001 14051 14050 }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = bergsjaeger when = now value = 1 }
				command = { type = supply_consumption which = bergsjaeger when = now value = 0.1 }
			}
		}
		application = { # Great War Heavy Artillery Gun 240mm+
			id = 14054
			name = "Great War Heavy Artillery Gun 240mm+"
			desc = "The Great War era 240mm+ Heavy Artillery Gun was used by a few major powers. It was reliable and had an acceptable rate of fire and a medium range. It was well suited for static warfare common during the Great War"			
			required = { 14001 14052 }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = artillery when = now value = 2 }
				command = { type = supply_consumption which = artillery when = now value = 0.1 }
				command = { type = speed which = artillery when = now value = -1 }
			}
		}
		application = { # Great War Gun Carrier
			id = 14057
			name = "Great War Gun Carrier"
			desc = "The Great War Gun Carrier was developed in order to transport heavy artillery and their ammunition across the battered and torn ground of the Western Front. Although not a full Self-Propelled Gun, it proved invaluable experience for future developments"
			
			required = { 14054 2005 }
			chance = 90
			cost = 6
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = speed which = artillery when = now value = 1 }
				command = { type = fuel_consumption which = artillery when = now value = 0.1 }
			}
		}
		application = { # Anti-Tank Gun 20mm+
			id = 14055
			name = "Anti-Tank Gun 20mm+"
			desc = "The 20mm+ Anti-Tank Gun was capable of piercing only thinly armoured tanks and armoured cars. Historically this was the French Canon Leger de 25 antichar mle 1934. NOTE: THIS TECH GIVES YOU FRACTIONAL BONUSES (LIKE 0.5 or 1.5) TO VARIOUS STATS, WHICH ARE NOT PROPERLY DISPLAYED ON THE LEFT WINDOW."
			
			required = { 14001 }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
			command = { type = hard_attack which = infantry when = now value = 0.5 }
			command = { type = hard_attack which = motorized when = now value = 0.5 }
			command = { type = hard_attack which = mechanized when = now value = 0.5 }
			 }
		}
		application = { # Tank Gun 20mm+
			id = 14010
			name = "Tank Gun 20mm+"
			desc = TECH_APP_ARTILLERY_1_10_DESC
			
			required = { 14055 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # 7.7mm+ MGs (air)
			id = 14995
			name = "7.62mm+ MGs (air)"
			desc = "Those machine guns were direct evolution of Great War fighter planes armament, but of much better quality, rate of fire and ammo support. While not very effective against heavier targets, those guns served quite well against other fighter planes. Historically this was the American M2 .303 Browning, the British Vickers VGO .303"
			
			required = { 1975 }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { } # No effects
			}
		}
		application = { # 12.7mm MGs (air)
			id = 14973
			name = "12.7mm+ MGs (air)"
			desc = "These machine guns replaced the earlier 7.62mm+ MGs (.30 Cal), and had greater range and firepower than the older rifle calibre guns. Examples of these new guns were the American M2 .50 Browning, the German MG131 (13mm)."
			required = { 14995 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { } # No effects
			}
		}
		application = { # Anti-Air Machine Gun
			id = 14056
			name = "Anti-Air Machine Gun"
			desc = "Early Anti-Air Machine Guns were mounted on high-angled gun platforms were used for protecting artillery batteries from low flying aircraft. As they became more common, they were later issued to infantry formations and on board ships but were only effective in discouraging attack and rarely hit anything. Traditionally these guns were landed aircraft machine guns or mounted Infantry LMGs"
			
			required = { 14995 14050 }
			chance = 90
			cost = 4
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = air_defense which = infantry when = now value = 1 }
				command = { type = air_defense which = motorized when = now value = 1 }
				command = { type = air_defense which = mechanized when = now value = 1 }
				command = { type = air_defense which = paratrooper when = now value = 1 }
				command = { type = air_defense which = bergsjaeger when = now value = 1 }
				command = { type = air_defense which = marine when = now value = 1 }
				command = { type = air_defense which = artillery when = now value = 1 }
				command = { type = air_defense which = battleship when = now value = 1 }
				command = { type = air_defense which = cruiser when = now value = 1 }
				command = { type = air_defense which = carrier when = now value = 1 }
				command = { type = air_defense which = destroyer when = now value = 1 }
			}
		}
		application = { # Anti-Air Gun 75mm+
			id = 14107
			name = "Anti-Air Gun 75mm+"
			desc = "The 75mm+ Anti-Air Gun was an early heavy gun capable of targeting high-flying aircraft. It had a good rate of fire and an adequate range and was a capable anti-tank weapon"
			
			required = { 14001 14050 }
			chance = 90
			cost = 6
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {

				command = { type = air_attack which = anti_air when = now value = 2 }
				command = { type = air_defense which = anti_air when = now value = 2 }
				command = { type = hard_attack which = anti_air when = now value = 1 }
				command = { type = supply_consumption which = anti_air when = now value = 0.1 }
				command = { type = build_time which = anti_air when = now value = 2 }
				command = { type = air_defense which = destroyer when = on_upgrade value = 1 }
				command = { type = air_defense which = destroyer when = now value = 1 }
				command = { type = AA_batteries value = 4 }
				command = { type = deactivate which = 14208 }
			}
		}
		application = { # Anti-Air Gun 85mm+
			id = 14208
			name = "Anti-Air Gun 85mm+"
			desc = "The 85mm+ Anti-Air Gun was an early heavy gun capable of targeting high-flying aircraft. As a bonus, it could also be used in an anti-tank role in a pinch, where it's high muzzle velocity proved to be invaluable in punching through the thick armor of heavy tanks."
			
			required = { 14001 14050 }
			chance = 90
			cost = 6
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = air_attack which = anti_air when = now value = 2 }
				command = { type = air_defense which = anti_air when = now value = 2 }
				command = { type = hard_attack which = anti_air when = now value = 3 }
				command = { type = supply_consumption which = anti_air when = now value = 0.1 }
				command = { type = build_time which = anti_air when = now value = 2 }
				command = { type = AA_batteries value = 4 }
				command = { type = deactivate which = 14107 }
			}
		}
		application = { # 102mm Naval Gun
			id = 14250
			name = "102mm Naval Gun"
			desc = "This is a small, lightweight naval gun. The 102mm (4 inch) gun has a combined shell and powder charge allowing it to be reloaded quickly by a single person. The gun is mounted on deck without any armor protection for the gun crew. This gun serves as the gun armament on early or small destroyers. This gun fires a 15 kg (33 lb) shell to a range of 8 nm (14 km)."

			required = { 14001 6015 }
			chance = 90
			cost = 6
			time = 90
			neg_offset = 30
			pos_offset = 60

			effects = { }
		}
		application = { # 127mm Naval Gun
			id = 14251
			name = "127mm Naval Gun"
			desc = "This is a small,lightweight naval gun that can be mounted as either the main armament on a destroyer or small cruiser, or as secondary or tertiary guns on battleships. The 127mm (5 inch) gun can be quickly loaded by a single person. These guns typically have a minimum amount of armor protection to protect the crew from splinters. This gun fires a 23 kg (50 lb) shell to a range of 10 nm (18 km)."

			required = { 14250 }
			chance = 90
			cost = 6
			time = 90
			neg_offset = 30
			pos_offset = 60

			effects = { }
		}
		application = { # 152mm Naval Gun
			id = 14252
			name = "152mm Naval Gun"
			desc = "This is a medium sized naval gun. It can serve either as the main armament of a cruiser or as the secondary guns on a battleship. These guns fire a seperate shell and powder charge that allows each piece to be loaded by a single person.  On older cruisers these guns were mounted on deck without any armor protection for the crew, but in later cruisers they were mounted in multiple gun turrets. This gun fires a 50 kg (105 lb) shell to a range of 13 nm (21 km)."

			required = { 6016 14251 }
			chance = 90
			cost = 6
			time = 90
			neg_offset = 30
			pos_offset = 60

			effects = { }
		}
		application = { # 203mm Naval Gun
			id = 14253
			name = "203mm Naval Gun"
			desc = "This is a medium gun because of its size compared to battleship main guns, but it still fires a shell that is heavy enough to require a mechanical loading system. These guns serve as the main armament of heavy cruisers and as the secondary guns of pre-dreadnaught battleships. They are mounted in multiple gun turrets with light to heavy armor protection for the crew. This gun fires a 120 kg (260 lb) shell to a range of 16 nm (29 km)."

			required = { 14252 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 30
			pos_offset = 60

			effects = { }
		}
		application = { # 254mm Naval Gun
			id = 14254
			name = "254mm Naval Gun"
			desc = "The 254mm (10 inch) naval gun is the smallest of the heavy naval guns. The 254mm gun has seperate bags of powder that can be moved onto the loading tray by a single person. The shell is placed on the loading tray and the shell and powder are rammed into the gun and the breach closed. These guns were the main armament of armored cruisers and second rate battleships prior to the first world war. This guns fires a 230 kg (510 lb) shell to a range of 10 nm (18 km)."

			required = { 6017 14253 }
			chance = 90
			cost = 10
			time = 90
			neg_offset = 30
			pos_offset = 60

			effects = { }
		}
		application = { # 305mm Naval Gun
			id = 14255
			name = "305mm Naval Gun"
			desc = "The 305mm (12 inch) naval gun was the main battery weapon of early battleships. The gun is mounted in turrets with two or three guns per turret. The entire turret and understructure can rotate to train the guns on target. The lower levels of the turret (or barbette as it is known) contain handling rooms for shells and the bags of powder necessary to fire the guns. These guns have been in service with the major navies since before the first world war, but are a necessary step to heavier guns. This gun fired a 400 kg (870 lb) shell to a range of 10 nm (18 km)"

			required = { 14254 }
			chance = 90
			cost = 10
			time = 90
			neg_offset = 30
			pos_offset = 60

			effects = { }
		}
		application = { # 356mm Naval Gun
			id = 14256
			name = "356mm Naval Gun"
			desc = "The 356mm (14 inch) naval gun is an improvement of the older 305mm naval gun. It is mounted in turrets with two or three guns. The 356mm gun fires a heavier shell and achieves a higher muzzle velocity. This allows the gun to fire farther and penetrate thicker armor."
			
			required = { 14255 }
			chance = 90
			cost = 12
			time = 90
			neg_offset = 30
			pos_offset = 60
			
			effects = { }
		}
		application = { # 406mm Naval Gun
			id = 14257
			name = "406mm Naval Gun"
			desc = "The 406mm (16 inch) naval gun is an improvement of the older 356mm naval gun to fire a heavier shell. It is mounted in turrets with two or three guns. The heavier shell weight allows it to penetrate thicker armor. The shell travels on a flatter trajectory which makes it easier to hit a target at long ranges."

			required = { 14256 }
			chance = 90
			cost = 12
			time = 90
			neg_offset = 30
			pos_offset = 60
			
			effects = { }
		}		
	} # Level 1
	
	level = { # Light Artillery Pieces
		id = 14100
		name = "Light Artillery Pieces"
		desc = TECH_LEVEL_ARTILLERY_2_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Improved Gun Carriage
			id = 14151
			name = "Improved Gun Carriage"
			desc = "The Improved Gun Carriage increases the mobility of artillery pieces as well as the stability of the gun. They utilized modern pneumatic tires, high elevation, as well as contemporary recoil absorbers which increased gun accuracy as well as mobility"
			
			required = { 14050 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = motorized when = now value = 2 }
				command = { type = ground_defense which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.2 }
			}
		}
		application = { # Improved Fire Control
			id = 14150
			name = "Improved Fire Control"
			desc = "Improvements in Radio Communication and Optical Rangefinders resulted in drastically improved Fire Control systems which increased the accuracy of contemporary artillery"
			
			required = { 3007 }
			chance = 90
			cost = 6
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Tracked Utility Vehicles
			id = 14155
			name = "Tracked Utility Vehicles"
			desc = "Developed from tankettes, these small tracked vehicles were used in large numbers to tow anti-tank guns and other loads for infantry and cavalry units. They were well suited for rough or harsh terrain. Historically they were the French Renault 37R, Belgian Vickers Utility tracteur and British Universal Carrier"
			
			required = { 2986 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = supply_consumption which = artillery when = now value = -0.3 }
				command = { type = fuel_consumption which = artillery when = now value = 0.1 }
				command = { type = supply_consumption which = anti_tank when = now value = -0.3 }
				command = { type = fuel_consumption which = anti_tank when = now value = 0.1 }
				command = { type = supply_consumption which = anti_air when = now value = -0.3 }
				command = { type = fuel_consumption which = anti_air when = now value = 0.1 }
				command = { type = supply_consumption which = engineer when = now value = -0.3 }
				command = { type = fuel_consumption which = engineer when = now value = 0.1 }
			}
		}
		application = { # Motorized Artillery Carriers
			id = 14156
			name = "Motorized Artillery Carriers"
			desc = "Motorized Artillery Carriers were capable of transporting larger amounts of supply faster and more efficiently than the traditional horse Artillery Carriers. Historically this was the German Sdkfz 7 and British Quad Gun Tractor"
			
			required = { 14151 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = supply_consumption which = infantry when = now value = -0.2 }
				command = { type = supply_consumption which = cavalry when = now value = -0.2 }
				command = { type = supply_consumption which = motorized when = now value = -0.3 }
				command = { type = fuel_consumption which = motorized when = now value = 0.1 }
			}
		}
		application = { # Basic Tank Gun Ammunition
			id = 14101
			name = TECH_APP_ARTILLERY_2_1_NAME
			desc = TECH_APP_ARTILLERY_2_1_DESC
			
			required = { 14055 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = armor when = now value = 1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
			}
		}
		application = { # Infantry Gun 70mm+
			id = 14004
			name = "Infantry Gun 70mm+"
			desc = "The 70mm+ Infantry Gun was frequently used by many nations. Originally an elderly field artillery piece it remained an important infantry gun. It has a horrible range but is light enough to be very useful in close assaults especially in rugged terrain. Historically it was the Japanese 70-mm Type 92"
			
			required = { 14003 14051 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = bergsjaeger when = now value = 1 }
				command = { type = soft_attack which = marine when = now value = 1 }
				command = { type = soft_attack which = militia value = 0.5 }
				command = { type = supply_consumption which = militia when = now value = 0.1 }
			}
		}
		application = { # Infantry Gun 100mm+
			id = 14102
			name = "Infantry Gun 100mm+"
			desc = "The 100mm+ to Infantry Gun was frequently used by many nations. Originally an elderly field artillery piece it was converted into infantry use. It retained the horrible range of the 70mm+ Infantry Gun but was too heavy to be used in the assault role but was very potent in breaking up enemy attacks"
			
			required = { 14004 14052 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = ground_defense which = militia when = now value = 0.5 }
				command = { type = supply_consumption which = militia when = now value = 0.1 }
				command = { type = deactivate which = 14153 }
				command = { type = deactivate which = 14601 }
			}
		}
		application = { # Infantry Gun 120mm+
			id = 14153
			name = "Infantry Gun 120mm+"
			desc = "The 120mm+ to Infantry Gun was frequently used by many nations. Originally an elderly field artillery piece it was converted into infantry use. It retained the horrible range of the 70mm+ Infantry Gun but was too heavy to be used in the assault role but was very potent in breaking up enemy attacks"
			
			required = { 14004 14052 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = ground_defense which = militia when = now value = 0.5 }
				command = { type = supply_consumption which = militia when = now value = 0.1 }
				command = { type = deactivate which = 14102 }
				command = { type = deactivate which = 14601 }
			}
		}
		application = { # Infantry Gun 150mm+
			id = 14601
			name = "Infantry Gun 150mm+"
			desc = "The 150mm+ to Infantry Gun was frequently used by many nations. Originally an elderly field artillery piece it was converted into infantry use. It retained the horrible range of the 70mm+ Infantry Gun but was too heavy to be used in the assault role but was very potent in breaking up enemy attacks"
			
			required = { 14004 14052 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = ground_defense which = militia when = now value = 0.5 }
				command = { type = supply_consumption which = militia when = now value = 0.1 }
				command = { type = deactivate which = 14102 }
				command = { type = deactivate which = 14153 }
			}
		}
		application = { # Light Artillery Prototype Tests
			id = 14152
			name = "Light Artillery Prototype Tests"
			desc = "New advances in artillery since the Great War has resulted in a modern and significantly more effective range of Light Artillery"
			
			required = { 14151 14051 }
			chance = 90
			cost = 4
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Field Artillery Gun 75mm+
			id = 14005
			name = "Field Artillery Gun 75mm+"
			desc = "The 75mm+ Field Artillery Gun was used by many nations. It was reliable and had a moderate rate of fire and range. Its penetration power was slightly worse than the heavier guns."
			
			required = { 14152 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = infantry when = now value = 1 }
				command = { type = ground_defense which = infantry when = now value = 1 }
				command = { type = soft_attack which = cavalry when = now value = 1 }
				command = { type = ground_defense which = cavalry when = now value = 1 }
				command = { type = soft_attack which = motorized when = now value = 1 }
				command = { type = ground_defense which = motorized when = now value = 1 }
				command = { type = deactivate which = 14006 }
				command = { type = deactivate which = 14007 }
			}
		}
		application = { # Field Artillery Gun 85mm+
			id = 14006
			name = "Field Artillery Gun 85mm+"
			desc = "The 85mm+ Field Artillery Gun was a fairly new gun type. It fired a much heavier shell than the 75mm+ and had greater range while maintaining a high rate of fire as well as having sufficient muzzle velocity to make it an effective Anti-Tank weapon. Historically this was the British 25-Pounder Field Gun"
			
			required = { 14152 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = infantry when = now value = 1 }
				command = { type = hard_attack which = infantry when = now value = 1 }
				command = { type = ground_defense which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = soft_attack which = motorized when = now value = 1 }
				command = { type = hard_attack which = motorized when = now value = 1 }
				command = { type = ground_defense which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = deactivate which = 14005 }
				command = { type = deactivate which = 14007 }
			}
		}
		application = { # Field Artillery Gun 100mm+
			id = 14007
			name = "Field Artillery Gun 100mm+"
			desc = "This 100mm+ Field Artillery Gun was used by many nations. It was reliable and had an acceptable rate of fire and a long range. Its penetration power was slightly worse than the heavier guns. Historically this was the American M2A1 105mm Field Gun."
			
			required = { 14152 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = infantry when = now value = 2 }
				command = { type = ground_defense which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = soft_attack which = motorized when = now value = 2 }
				command = { type = ground_defense which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = deactivate which = 14005 }
				command = { type = deactivate which = 14006 }
			}
		}
		application = { # Basic Anti-Tank Prototype Tests
			id = 14154
			name = "Basic Anti-Tank Prototype Tests"
			desc = "Most militaries developed Anti-Tank weaponry in between the ranges of 37mm and 40mm in the inter-war period. These weapons could easily penetrate contemporary armour and were produced in great numbers."
			
			required = { 14151 14010 14101 }
			chance = 90
			cost = 4
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Anti-Tank Gun 37mm+
			id = 14008
			name = "Anti-Tank Gun 37mm+"
			desc = "This 37mm+ Anti-Tank gun was a 'hot item' in the last years of the 30's. It performed well against Light Tanks but was unable to damage the heavier princes of battle. As time went by it was outmoded by faster guns with greater range but it was still easy to use and rather effective against infantry. Historically it was the German 3.7-cm PAK 36 and American M1A1 37mm."
			
			required = { 14154 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = hard_attack which = cavalry when = now value = 1 }
				command = { type = supply_consumption which = cavalry when = now value = 0.1 }
				command = { type = hard_attack which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
				command = { type = supply_consumption which = anti_tank when = now value = 0.1 }
				command = { type = deactivate which = 14009 }
			}
		}
		application = { # Anti-Tank Gun 40mm+
			id = 14009
			name = "Anti-Tank Gun 40mm+"
			desc = "This 40mm+ Anti-Tank gun was a 'hot item' in the last years of the 30's. It performed well against Light Tanks but was unable to damage the heavier princes of battle. As time went by it was outmoded by faster guns with greater range but it was still easy to use and rather effective against infantry. Historically it was the British 2-Pounder and the Italian Canone da 47/32 M35"
			
			required = { 14154 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = hard_attack which = cavalry when = now value = 1 }
				command = { type = supply_consumption which = cavalry when = now value = 0.1 }
				command = { type = hard_attack which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
				command = { type = supply_consumption which = anti_tank when = now value = 0.1 }
				command = { type = deactivate which = 14008 }
			}
		}
		application = { # Tank Gun 37mm+
			id = 14011
			name = "Tank Gun 37mm+"
			desc = TECH_APP_ARTILLERY_1_11_DESC
			
			required = { 14154 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Tank Gun 40mm+
			id = 14105
			name = "Tank Gun 40mm+"
			desc = TECH_APP_ARTILLERY_2_5_DESC
			
			required = { 14154 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Tank Gun 75mm+ CS
			id = 14207
			name = "Tank Gun 75mm+ CS"
			desc = "This gun was a modified 75mm+ Infantry Gun mounted for use in armored vehicles designed for close support duties. Historically, this was the German 75mm KwK 37 L/24 gun found on the Panzer IVA-F1."
			
			required = { 14154 14004 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Anti-Air Gun 20mm+
			id = 14012
			name = "Anti-Air Gun 20mm+"
			desc = TECH_APP_ARTILLERY_1_12_DESC
			
			required = { 14056 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = air_attack which = infantry when = now value = 1 }
				command = { type = air_defense which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = air_attack which = motorized when = now value = 1 }
				command = { type = air_defense which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = air_attack which = mechanized when = now value = 1 }
				command = { type = air_defense which = mechanized when = now value = 1 }
				command = { type = supply_consumption which = mechanized when = now value = 0.1 }
				command = { type = air_attack which = paratrooper when = now value = 1 }
				command = { type = air_defense which = paratrooper when = now value = 1 }
				command = { type = supply_consumption which = paratrooper when = now value = 0.1 }
				command = { type = air_attack which = bergsjaeger when = now value = 1 }
				command = { type = air_defense which = bergsjaeger when = now value = 1 }
				command = { type = supply_consumption which = bergsjaeger when = now value = 0.1 }
				command = { type = air_attack which = marine when = now value = 1 }
				command = { type = air_defense which = marine when = now value = 1 }
				command = { type = supply_consumption which = marine when = now value = 0.1 }
				command = { type = air_attack which = battleship when = on_upgrade value = 1 }
				command = { type = air_defense which = battleship when = on_upgrade value = 1 }
				command = { type = air_attack which = cruiser when = on_upgrade value = 1 }
				command = { type = air_defense which = cruiser when = on_upgrade value = 1 }
				command = { type = air_attack which = carrier when = on_upgrade value = 1 }
				command = { type = air_defense which = carrier when = on_upgrade value = 1 }
				command = { type = air_attack which = destroyer when = on_upgrade value = 1 }
				command = { type = air_defense which = destroyer when = on_upgrade value = 1 }
				command = { type = AA_batteries value = 1 }
			}
		}
		application = { # 20mm Cannons
			id = 14974
			name = "20mm Cannons"
			desc = "As aircraft became faster and more sturdy, more firepower was needed to bring them down. Machine guns soon found themselves supplanted by 20mm and above cannons, which had the punch to down fighters in a few shots."
			required = { 14012 } 
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = air_attack which = fighter when = on_upgrade value = 1 }
				command = { type = tactical_attack which = fighter when = on_upgrade value = 1 }
				command = { type = tactical_attack which = dive_bomber when = on_upgrade value = 1 }
				command = { type = tactical_attack which = tactical_bomber when = on_upgrade value = 1 }
				command = { type = air_defense which = strategic_bomber when = on_upgrade value = 1 }
				command = { type = air_defense which = tactical_bomber when = on_upgrade value = 1 }
				command = { type = air_defense which = dive_bomber when = on_upgrade value = 1 }
			}
		}
		application = { # Self-Propelled Anti-Air Machine Gun
			id = 14158
			name = "SP Anti-Air Machine Gun"
			desc = "Based upon the chasis of a Light Tank, the Self-Propelled Anti-Air Machine Gun offered armoured and mechanized formations rudamentary defense against low flying aircraft. Historically this was the Vickers Mark V twin Besa 15mm and German Flakpanzer I"
			
			required = { 14056 14012 2103 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = air_attack which = armor when = now value = 1 }
				command = { type = air_defense which = armor when = now value = 1 }
				command = { type = air_attack which = mechanized when = now value = 1 }
				command = { type = air_defense which = mechanized when = now value = 1 }
			}
		}
	} # Level 2
	
	level = { # Medium Artillery Pieces
		id = 14200
		name = "Medium Artillery Pieces"
		desc = TECH_LEVEL_ARTILLERY_4_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Mountain Gun Prototype Tests
			id = 14262
			name = "Mountain Gun Prototype Tests"
			desc = "New advances in artillery since the Great War has resulted in a modern and significantly more effective range of Mountain Guns."
			
			required = { 14053 11004 } # Specialst doctrine added
			chance = 90
			cost = 4
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Mountain Gun 75mm+
			id = 14980
			name = "Mountain Gun 75mm+"
			desc = "This was a 75mm+ Field Gun, but designed to have high elevation and be broken up into several easily manageable pieces that could then be transported by a few men each or pack animals. Historically, this was the German GebG 36 75mm Mountain Gun."
			
			required = { 14262 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = bergsjaeger when = now value = 1 }
				command = { type = deactivate which = 14981 }
				command = { type = deactivate which = 14987 }
					}
		}
		application = { # Mountain Gun 90mm+
			id = 14987
			name = "Mountain Gun 90mm+"
			desc = "Among the best mountain guns ever built, large numbers of these weapons survived the war and were to be found in service with a number of European countries until the middle 1960s."
			
			required = { 14262 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = bergsjaeger when = now value = 2 }
				command = { type = supply_consumption which = bergsjaeger when = now value = 0.2 }
				command = { type = deactivate which = 14980 }
				command = { type = deactivate which = 14981 }
			}
		}
		application = { # Mountain Gun 100mm+
			id = 14981
			name = "Mountain Gun 100mm+"
			desc = "This remarkable howitzer was the heaviest weapon ever developed for mountain use. Among the best mountain guns ever built, large numbers of these weapons survived the war and were to be found in service with a number of European countries until the middle 1960s. Historically, this was the German Geb H 40 105mm Mountain Howitzer."
			
			required = { 14262 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = bergsjaeger when = now value = 2 }
				command = { type = supply_consumption which = bergsjaeger when = now value = 0.2 }
				command = { type = deactivate which = 14980 }
				command = { type = deactivate which = 14987 }
			}
		}
		application = { # Medium Artillery Prototype Tests
			id = 14263
			name = "Medium Artillery Prototype Tests"
			desc = "New advances in artillery since the Great War has resulted in a modern and significantly more effective range of Medium Artillery."
			
			required = { 14052 14151 14150 }
			chance = 90
			cost = 4
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Field Artillery Gun 120mm+
			id = 14103
			name = "Field Artillery Gun 120mm+"
			desc = "This 120mm+ Field Artillery Gun was frequently used by many nations. It was reliable and had an acceptable rate of fire and a medium range. Historically this was the Soviet 122mm A-19 Model 1937 Howitzer and the British 4.5 inch Howitzer"
			
			required = { 14263 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = infantry when = now value = 1 }
				command = { type = soft_attack which = bergsjaeger when = now value = 1 }
				command = { type = soft_attack which = motorized when = now value = 1 }
				command = { type = soft_attack which = artillery when = now value = 1 }
				command = { type = deactivate which = 14104 }
			}
		}
		application = { # Field Artillery Gun 150mm+
			id = 14104
			name = "Field Artillery Gun 150mm+"
			desc = TECH_APP_ARTILLERY_2_4_DESC
			
			required = { 14263 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = infantry when = now value = 1 }
				command = { type = soft_attack which = bergsjaeger when = now value = 1 }
				command = { type = soft_attack which = motorized when = now value = 1 }
				command = { type = soft_attack which = artillery when = now value = 2 }
				command = { type = supply_consumption which = artillery when = now value = 0.1 }
				command = { type = deactivate which = 14103 }
			}
		}
		application = { # Improved Anti-Air Prototype Tests
			id = 14264
			name = "Improved Anti-Air Prototype Tests"
			desc = "Improved Anti-Aircraft Guns featured the high rates of fire of Light Anti-Aircraft Guns with a heavy shell and high range of Heavy Aint-Aircraft Guns"
			
			required = { 14012 14150 }
			chance = 90
			cost = 4
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Anti-Air Gun 37mm+
			id = 14013
			name = "Anti-Air Gun 37mm+"
			desc = "The 37mm+ Anti-Air Gun was a light gun capable of targeting low-flying aircraft. Due to its light calibre it had limited capability. Historically this was the German 37mm FlaK 36"
			
			required = { 14264 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = air_attack which = infantry when = now value = 1 }
				command = { type = air_defense which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = air_attack which = motorized when = now value = 1 }
				command = { type = air_defense which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = air_attack which = bergsjaeger when = now value = 1 }
				command = { type = air_defense which = bergsjaeger when = now value = 1 }
				command = { type = supply_consumption which = bergsjaeger when = now value = 0.1 }
				command = { type = air_attack which = battleship when = on_upgrade value = 1 }
				command = { type = air_defense which = battleship when = on_upgrade value = 1 }
				command = { type = air_attack which = cruiser when = on_upgrade value = 1 }
				command = { type = air_defense which = cruiser when = on_upgrade value = 1 }
				command = { type = air_attack which = carrier when = on_upgrade value = 1 }
				command = { type = air_defense which = carrier when = on_upgrade value = 1 }
				command = { type = air_attack which = destroyer when = on_upgrade value = 1 }
				command = { type = air_defense which = destroyer when = on_upgrade value = 1 }
				command = { type = air_defense which = destroyer when = now value = 1 }
				command = { type = AA_batteries value = 2 }
				command = { type = deactivate which = 14106 }
			}
		}
		application = { # Anti-Air Gun 40mm+
			id = 14106
			name = "Anti-Air Gun 40mm+"
			desc = "The 40mm+ Anti-Air Gun was a light gun capable of targeting low-flying aircraft. Historically this was the Swedish 40mm L/56 and the British Vickers 2-Pounder"
			
			required = { 14264 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = air_attack which = infantry when = now value = 1 }
				command = { type = air_defense which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = air_attack which = motorized when = now value = 1 }
				command = { type = air_defense which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = air_attack which = bergsjaeger when = now value = 1 }
				command = { type = air_defense which = bergsjaeger when = now value = 1 }
				command = { type = supply_consumption which = bergsjaeger when = now value = 0.1 }
				command = { type = air_attack which = anti_air when = now value = 1 }
				command = { type = air_defense which = anti_air when = now value = 1 }
				command = { type = supply_consumption which = anti_air when = now value = 0.1 }
				command = { type = build_time which = anti_air when = now value = 2 }
				command = { type = air_attack which = battleship when = on_upgrade value = 1 }
				command = { type = air_defense which = battleship when = on_upgrade value = 1 }
				command = { type = air_attack which = cruiser when = on_upgrade value = 1 }
				command = { type = air_defense which = cruiser when = on_upgrade value = 1 }
				command = { type = air_attack which = carrier when = on_upgrade value = 1 }
				command = { type = air_defense which = carrier when = on_upgrade value = 1 }
				command = { type = air_attack which = destroyer when = on_upgrade value = 1 }
				command = { type = air_defense which = destroyer when = on_upgrade value = 1 }
				command = { type = air_defense which = destroyer when = now value = 1 }
				command = { type = AA_batteries value = 2 }
				command = { type = deactivate which = 14013 }
			}
		}
		application = { # Improved 406mm Naval Gun
			id = 14258
			name = "Improved 406mm Naval Gun"
			desc = "This is an improvement of the 406mm (16 inch) naval gun to take advantage of advances in shell and gun construction.  The gun fires a 'super heavy' 406mm shell weighing about 1200 kg (2700 lbs) to a range of 21 nm (38 km).  At long ranges this gun can equal the heavier 460mm gun in penetrating power."
			
			required = { 14257 14201 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = { }
		}
		application = { # 460mm Naval Gun
			id = 14259
			name = "460mm Naval Gun"
			desc = "The 460mm (18 inch) naval gun is the heaviest gun afloat.  The gun fires a massive 1500 kg (3200 lb) shell to a range of 23 nm (42 km).  The construction of these guns is a complex process involving heating, shrinking, and expanding the various tubes that made up the barrel."
			
			required = { 14257 }
			chance = 90
			cost = 12
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = { }
		}
	} # Level 3
	
	level = { # Self-Propelled Artillery Pieces
		id = 14300
		name = "Self-Propelled Artillery Pieces"
		desc = TECH_LEVEL_ARTILLERY_3_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Basic Shaped Charge Theory
			id = 2884
			name = "Basic Shaped Charge Theory"
			desc = "The Shaped Charge dates back to the 1880s, but it was not until the 1930s and 1940s when it was scientifically analyzed. This would lead to a new type of weapon that was lightweight, yet capable of punching through incredible quantities of armor."
			
			required = { }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Basic HEAT Ammunition
			id = 2886
			name = "Basic HEAT Ammunition"
			desc = "The application of Shaped Charge technology to conventional weapon ammunition created a new type of shell, the HEAT shell, which allowed even low velocity weapons to be able to knock out heavy tanks in a single shot."
			
			required = { 2884 14101 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Improved Tank Gun Ammunition
			id = 14201
			name = TECH_APP_ARTILLERY_3_1_NAME
			desc = TECH_APP_ARTILLERY_3_1_DESC
			
			required = { 14101 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = armor when = now value = 1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
			}
		}
		application = { # Variable Time Fuse
			id = 14202
			name = TECH_APP_ARTILLERY_3_2_NAME
			desc = TECH_APP_ARTILLERY_3_2_DESC
			
			required = { 14101 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = artillery when = now value = 1 }
				command = { type = air_attack which = anti_air when = now value = 1 }
				command = { type = air_defense which = anti_air when = now value = 1 }
				command = { type = air_attack which = battleship when = now value = 1 }
				command = { type = air_defense which = battleship when = now value = 1 }
				command = { type = air_attack which = cruiser when = now value = 1 }
				command = { type = air_defense which = cruiser when = now value = 1 }
				command = { type = air_attack which = carrier when = now value = 1 }
				command = { type = air_defense which = carrier when = now value = 1 }
				command = { type = air_attack which = destroyer when = now value = 1 }
				command = { type = air_defense which = destroyer when = now value = 1 }
			}
		}
		application = {
			id = 14982
			name = "Recoilless Gun 70mm+"
			desc = "The 70mm+ Recoilless Gun was the first of it's kind, and was designed for parachute units, so they could have a hard-hitting gun that was light and yet packed a strong punch. Historically, this was the German 75mm LG 40 Recoilless Gun and the American 75mm Recoiless M20"
			
			required = { 7301 9203 } # Paras as a must added
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = paratrooper when = now value = 1 }
				command = { type = hard_attack which = paratrooper when = now value = 1 }
				command = { type = paradrop_attack which = paratrooper when = now value = 5 }
				command = { type = supply_consumption which = paratrooper when = now value = 0.1 }
			}
		}
		application = { # Improved Anti-Tank Prototype Tests
			id = 14350
			name = "Improved Anti-Tank Prototype Tests"
			desc = "As the armour of tanks increased basic Anti-Tank Guns proved to be incapable of knocking them out. A new eara of Anti-Tank Guns, ranging from 50mm and 75mm were developed to counter the new tanks"
			
			required = { 14011 14105 14201 }
			chance = 90
			cost = 4
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Anti-Tank Gun 50mm+
			id = 14351
			name = "Anti-Tank Gun 50mm+"
			desc = "This 50mm+ Anti-Tank Gun was the first effective tank-killer used by the infantry. It was designed to penetrate tank armour and it had a high enough calibre to kill Light Tanks and to damage Medium Tanks. Its main deficits were its moderate armour penetration power and its medium range - which was less than most Tank Guns - thus the gun was less effective when protecting friendly armour. Historically this was the German 50mm PAK 38 and the British 6-Pounder"
			
			required = { 14350 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {				
				command = { type = hard_attack which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = hard_attack which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = hard_attack which = mechanized when = now value = 1 }
				command = { type = supply_consumption which = mechanized when = now value = 0.1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
				command = { type = supply_consumption which = anti_tank when = now value = 0.1 }
				command = { type = build_time which = anti_tank when = now value = 2 }
				command = { type = deactivate which = 14205 }
			}
		}
		application = { # Anti-Tank Gun 75mm+
			id = 14205
			name = "Anti-Tank Gun 75mm+"
			desc = "This 75mm+ Anti-Tank Gun was the first effective tank-killer used by the infantry. It was designed to penetrate tank armour and it had a high enough calibre to kill Light Tanks and to damage Medium Tanks. Historically this was the German 75mm PAK 40. NOTE: THIS TECH GIVES YOU FRACTIONAL BONUSES (LIKE 0.5 or 1.5) TO VARIOUS STATS, WHICH ARE NOT PROPERLY DISPLAYED ON THE LEFT WINDOW."
			
			required = { 14350 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {				
				command = { type = hard_attack which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = hard_attack which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = hard_attack which = mechanized when = now value = 1 }
				command = { type = supply_consumption which = mechanized when = now value = 0.1 }
				command = { type = hard_attack which = anti_tank when = now value = 2 }
				command = { type = supply_consumption which = anti_tank when = now value = 0.3 }
				command = { type = build_time which = anti_tank when = now value = 2 }
				command = { type = deactivate which = 14351 }
			}
		}
		application = { # Tank Gun 50mm+
			id = 14206
			name = "Tank Gun 50mm+"
			desc = TECH_APP_ARTILLERY_3_6_DESC
			
			required = { 14350 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Tank Gun 75mm+ (Medium)
			id = 14976
			name = "Tank Gun 75mm+ (Medium)"
			desc = "The 75mm (Medium) tank gun had moderate hitting power, and historically was the US M3 75mm gun, the German 75mm KwK 40 L/43."
			
			required = { 14350 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Self-Propelled Artillery Prototype Tests
			id = 14203
			name = "SP Artillery Prototype Tests"
			desc = TECH_APP_ARTILLERY_3_3_DESC
			
			required = { 14057 11201 2314 }
			chance = 90
			cost = 6
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = speed which = artillery when = on_upgrade value = 1 }
				command = { type = supply_consumption which = artillery when = on_upgrade value = 0.2 }
				command = { type = fuel_consumption which = artillery when = on_upgrade value = 0.3 }
				command = { type = build_time which = artillery when = on_upgrade value = 2 }
			}
		}
		application = { # Self-Propelled Artillery 75mm+
			id = 14209
			name = "SP Field Artillery 75mm+"
			desc = TECH_APP_ARTILLERY_3_9_DESC
			
			required = { 14203 14005 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = soft_attack which = armor when = now value = 1 }
				command = { type = fuel_consumption which = armor when = now value = 0.1 }
				command = { type = soft_attack which = mechanized when = now value = 2 }
				command = { type = supply_consumption which = mechanized when = now value = 0.1 }
				command = { type = fuel_consumption which = mechanized when = now value = 0.1 }
			}
		}
		application = { # Self-Propelled Artillery 85mm+
			id = 14306
			name = "SP Field Artillery 85mm+"
			desc = "This Self-Propelled Artillery piece had a fairly light calibre gun and thus could not achieve the same target destruction as the infantry guns and field artillery guns but due to its mobility and protection its overall lethality on the battlefield was almost identical.  Historically this was the British Bishop, Canadian Sexton and the Italian Semovente 90/53"
			
			required = { 14203 14006 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = soft_attack which = armor when = now value = 1 }
				command = { type = hard_attack which = armor when = now value = 1 }
				command = { type = supply_consumption which = armor when = now value = 0.2 }
				command = { type = fuel_consumption which = armor when = now value = 0.1 }
				command = { type = soft_attack which = mechanized when = now value = 2 }
				command = { type = hard_attack which = mechanized when = now value = 1 }
				command = { type = supply_consumption which = mechanized when = now value = 0.3 }
				command = { type = fuel_consumption which = mechanized when = now value = 0.1 }
			}
		}
		application = { # Self-Propelled Artillery 100mm+
			id = 14404
			name = "SP Field Artillery 100mm+"
			desc = "This Self-Propelled Artillery piece had a gun calibre comparable with the infantry guns and field artillery guns. Combined with its mobility and protection its lethality on the battlefield was virtually unmatched. Historically this was the US M7 Priest and the German Wespe"
			
			required = { 14203 14007 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = soft_attack which = armor when = now value = 2 }
				command = { type = supply_consumption which = armor when = now value = 0.2 }
				command = { type = fuel_consumption which = armor when = now value = 0.1 }
				command = { type = soft_attack which = mechanized when = now value = 3 }
				command = { type = supply_consumption which = mechanized when = now value = 0.3 }
				command = { type = fuel_consumption which = mechanized when = now value = 0.1 }
			}
		}
		application = { # Mechanized Ammunition Carriers
			id = 14157
			name = "Mechanized Ammunition Carriers"
			desc = "Mechanized Ammunition Carriers were vitally important in supplying Self-Propelled Artillery. They were basically unarmed Self-Propelled Artillery Tractors designed to carry and transfer large amounts of ammunition to active batteries of Self-Propelled Guns. Historically this was the German Munitiontrger Wespe and Hummel"
			
			required = { 14203 14156 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = supply_consumption which = armor when = now value = -0.3 }
				command = { type = fuel_consumption which = armor when = now value = 0.1 }
				command = { type = supply_consumption which = mechanized when = now value = -0.3 }
				command = { type = fuel_consumption which = mechanized when = now value = 0.1 }
			}
		}
		application = { # Multi-Barrelled Light Anti-Air Guns
			id = 14204
			name = "Multi-Barrelled Light Anti-Air Guns"
			desc = TECH_APP_ARTILLERY_3_4_DESC
			
			required = { 14012 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = air_attack which = infantry when = now value = 1 }
				command = { type = supply_consumption which = infantry when = now value = 0.1 }
				command = { type = air_attack which = motorized when = now value = 1 }
				command = { type = supply_consumption which = motorized when = now value = 0.1 }
				command = { type = air_attack which = bergsjaeger when = now value = 1 }
				command = { type = supply_consumption which = bergsjaeger  when = now value = 0.1 }
				command = { type = air_attack which = anti_air when = now value = 2 }
				command = { type = supply_consumption which = anti_air when = now value = 0.1 }
				command = { type = build_time which = anti_air when = now value = 2 }
				command = { type = air_attack which = battleship when = on_upgrade value = 1 }
				command = { type = air_defense which = battleship when = on_upgrade value = 1 }
				command = { type = air_attack which = cruiser when = on_upgrade value = 1 }
				command = { type = air_defense which = cruiser when = on_upgrade value = 1 }
				command = { type = air_attack which = carrier when = on_upgrade value = 1 }
				command = { type = air_defense which = carrier when = on_upgrade value = 1 }
				command = { type = air_attack which = destroyer when = on_upgrade value = 1 }
				command = { type = air_defense which = destroyer when = on_upgrade value = 1 }
				command = { type = AA_batteries value = 2 }
			}
		}
	} # Level 4
	
	level = { # Improved Equipment and Ordinance
		id = 14400
		name = "Improved Equipment and Ordinance"
		desc = TECH_LEVEL_ARTILLERY_5_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Improved Shaped Charges
			id = 2885
			name = "Improved Shaped Charges"
			desc = "Now that the Shaped Charge had been proven in combat, improvements were made, leading to greater penetrative power for the same weight of explosives."
			required = { 2886 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Improved HEAT Ammunition
			id = 2887
			name = "Improved HEAT Ammunition"
			desc = "Refinements to HEAT ammunition allowed for greater velocity in mid-air than with the older HEAT rounds, and also greater penetrative power."
			required = { 2885 14201 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = infantry when = now value = 1 }
				command = { type = hard_attack which = motorized when = now value = 1 }
				command = { type = hard_attack which = mechanized when = now value = 1 }
				command = { type = hard_attack which = armor when = now value = 1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
				command = { type = hard_attack which = artillery when = now value = 1 }
				command = { type = hard_attack which = anti_air when = now value = 1 }
			}
		}
		application = { # Muzzle Brake
			id = 14452
			name = "Muzzle Brake"
			desc = "Muzzle Brakes redirect much of the gas out of the side of the barrel rather than its end. This greatly reduces the recoil of the gun, resulting in more accurate artillery, anti-tank and anti-aircraft guns"
			required = { 14152 14264 14350 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = infantry when = now value = 1 }
				command = { type = soft_attack which = motorized when = now value = 1 }
				command = { type = soft_attack which = mechanized when = now value = 1 }
				command = { type = hard_attack which = armor when = now value = 1 }
				command = { type = soft_attack which = artillery when = now value = 1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
				command = { type = air_attack which = anti_air when = now value = 1 }
			}
		}
		application = { # Rangefinder Radar
			id = 14002
			name = TECH_APP_ARTILLERY_1_2_NAME
			desc = TECH_APP_ARTILLERY_1_2_DESC
			
			required = { 3002 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = artillery when = on_upgrade value = 1 }
				command = { type = AA_batteries value = 1 }
			}
		}
		application = {
			id = 14352
			name = "Recoilless Gun 100mm+"
			desc = "The 100mm+ Recoilless Gun was designed for parachute units, so they could have a hard-hitting gun that was light and yet packed a strong punch. Historically, this was the German 105mm LG 42 Recoilless Gun."
			
			required = { 14982 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = paratrooper when = now value = 1 }
				command = { type = supply_consumption which = paratrooper when = now value = 0.1 }
				command = { type = soft_attack which = bergsjaeger when = now value = 1 }
				command = { type = supply_consumption which = bergsjaeger when = now value = 0.1 }
			}
		}
		application = { # 200mm+ Engineering Tank Mortar
			id = 14979
			name = "200mm+ Engineering Tank Mortar"
			desc = "This low velocity gun fired a very large HE charge, and was found mostly on engineering vehicles. Examples included the British 290mm 'Spigot' Mortar known as the 'Petard' found on the Churchill AVRE."
			
			required = { }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {	}
		}
		application = { # Dual-Purpose 152mm Naval Gun
			id = 14260
			name = "Dual-Purpose 152mm Naval Gun"
			desc = "The 152mm Dual-Purpose gun was developed for a new generation of modern Anti-Aircraft Cruisers. It was designed to fire at high angles for anti-aircraft defense as well as against surface targets. This gun fires an armoured piercing or high explosive 50 kg (105 lb) shell to a range of 13 nm (21 km)."

			required = { 14252 14201 }
			chance = 90
			cost = 8
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = { }
		}
		application = { # Semi-Automatic 203mm Naval Gun
			id = 14261
			name = "Semi-Automatic 203mm Naval Gun"
			desc = "This class of 203mm (8 inch) guns use seperate (cased) powder in place of bags of powder.  With automatic shell handling and loading, a fire rate of three times greater than previous 203mm guns was possible.  These guns fire a 150 kg (330 lb) shell to a range of 15 nm (27 km)."
			
			required = { 14253 14201 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = { }
		}
		application = { # Improved 305mm Naval Gun
			id = 14265
			name = "Improved 305mm Naval Gun"
			desc = "This gun was a major improvement over previous 305mm (12 inch) guns and was of simpler, lighter construction.  Designed to fire 'super heavy' armor piercing shells, it gave penetration almost the equal of pre-war 356mm naval guns.  The gun fires a 500 kg (1150 lb) shell to a range of 19 nm (35 km)."
			required = { 14255 14201 }
			chance = 90
			cost = 8
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = { }
		}
	} # Level 5
	
	level = { # Heavy Artillery Pieces
		id = 14500
		name = "Heavy Artillery Pieces"
		desc = TECH_LEVEL_ARTILLERY_6_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Advanced Tank Gun Ammunition
			id = 14301
			name = TECH_APP_ARTILLERY_4_1_NAME
			desc = TECH_APP_ARTILLERY_4_1_DESC
			
			required = { 14201 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = armor when = now value = 1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
			}
		}
		application = { # Heavy Artillery Prototype Tests
			id = 14650
			name = "Heavy Artillery Prototype Tests"
			desc = "New advances in artillery since the Great War has resulted in a modern and significantly more effective range of Heavy Artillery"
			
			required = { 14054 14151 }
			chance = 90
			cost = 4
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Heavy Artillery Gun 170mm+
			id = 14302
			name = "Heavy Artillery Gun 170mm+"
			desc = "This 170mm+ Heavy Artillery Gun was used by some major powers. It was reliable and had an acceptable rate of fire and a long range. With very few deficiencies, it was one of the most powerful field artillery pieces produced during the war. Historically, this was the German K18 Gun and British 7.2 inch Howitzer"
			
			required = { 14650 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = artillery when = now value = 1 }
				command = { type = supply_consumption which = artillery when = now value = 0.1 }
				command = { type = deactivate which = 14602 }
			}
		}
		application = { # Heavy Artillery Gun 200mm+
			id = 14602
			name = "Heavy Artillery Gun 200mm+"
			desc = "This 200mm+ Heavy Artillery Gun was used by a few major powers. It was reliable and had an acceptable rate of fire and a medium range. Though clumsy and fed with huge and heavy shells."
			
			required = { 14650 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = artillery when = now value = 2 }
				command = { type = speed which = artillery when = now value = -1 }
				command = { type = supply_consumption which = artillery when = now value = 0.2 }
				command = { type = deactivate which = 14302 }
			}
		}
		application = { # Rocket Artillery 100mm+
			id = 14307
			name = TECH_APP_ARTILLERY_4_7_NAME
			desc = TECH_APP_ARTILLERY_4_7_DESC
			
			required = { 7001 7002 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = soft_attack which = artillery when = now value = 1 }
				command = { type = supply_consumption which = artillery when = now value = 0.3 }
				command = { type = build_time which = artillery when = now value = 2 }
				command = { type = speed which = artillery when = now value = -1 }
			}
		}
		application = { # Advanced Anti-Tank Prototype Tests
			id = 14450
			name = "Advanced Anti-Tank Prototype Tests"
			desc = "Advances in tank armour and speed have resulted in the demand for an anti-tank gun capable of destroying this new generation of armoured fighting vehicles"
			
			required = { 14206 14976 14301 14350 }
			chance = 90
			cost = 4
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Anti-Tank Gun 85mm+
			id = 14303
			name = "Anti-Tank Gun 85mm+"
			desc = TECH_APP_ARTILLERY_4_3_DESC
			
			required = { 14450 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = anti_tank when = now value = 2 }
				command = { type = supply_consumption which = anti_tank when = now value = 0.1 }
				command = { type = build_time which = anti_tank when = now value = 2 }
				command = { type = deactivate which = 14304 }
			}
		}
		application = {
			id = 14652
			name = "Recoilless Gun 85mm+"
			desc = "The 85mm+ Recoilless Gun was designed for parachute and mountain units, so they could have a hard-hitting gun that was light and yet packed a strong punch but was very expensive. Historically, this was the German 88mm RW 43 Pppchen"
			
			required = { 14982 14303 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = paratrooper when = now value = 1 }
				command = { type = supply_consumption which = paratrooper when = now value = 0.4 }
				command = { type = hard_attack which = bergsjaeger when = now value = 1 }
				command = { type = supply_consumption which = bergsjaeger when = now value = 0.4 }
			}
		}
		application = { # Anti-Tank Gun 90mm+
			id = 14304
			name = TECH_APP_ARTILLERY_4_4_NAME
			desc = TECH_APP_ARTILLERY_4_4_DESC
			
			required = { 14450 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = anti_tank when = now value = 2 }
				command = { type = supply_consumption which = anti_tank when = now value = 0.1 }
				command = { type = build_time which = anti_tank when = now value = 2 }
				command = { type = deactivate which = 14303 }
			}
		}
		application = {
			id = 14977
			name = "Tank Gun 75mm+ (Long)"
			desc = "The 75mm+ (Long) tank gun had nearly as much hitting power as the larger 88mm tank gun, but with less explosive power against unarmored targets. Historically, this was the German 75mm KwK 42 L/70 used on the Panther, and the British 17-pounder gun used on the Sherman Firefly and A30 Challenger."
			
			required = { 14450 14976 } # AT 70mm added
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Tank Gun 85mm+
			id = 14503
			name = "Tank Gun 85mm+"
			desc = "The 85mm+ Tank Gun was a heavy gun capable of inflicting damage on armoured vehicles. It could penetrate the armour of Medium Tanks and Heavy Tanks"
			
			required = { 14450 4803 } # Quality Control added
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Tank Gun 90mm+
			id = 14603
			name = TECH_APP_ARTILLERY_7_3_NAME
			desc = TECH_APP_ARTILLERY_7_3_DESC
			
			required = { 14450 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
	} # Level 6
	
	level = { # Self-Propelled Rocket Artillery Pieces
		id = 14600
		name = "Self-Propelled Rocket Artillery Pieces"
		desc = TECH_LEVEL_ARTILLERY_7_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Rocket Artillery 200mm+
			id = 14704
			name = TECH_APP_ARTILLERY_8_4_NAME
			desc = TECH_APP_ARTILLERY_8_4_DESC
			
			required = { 14550 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = soft_attack which = artillery when = now value = 1 }
				command = { type = supply_consumption which = artillery when = now value = 0.3 }
				command = { type = build_time which = artillery when = now value = 2 }
				command = { type = speed which = artillery when = now value = -1 }
			}
		}
		application = { # Self-Propelled Rocket Artillery 100mm+
			id = 14504
			name = "SP Rocket Artillery 100mm+"
			desc = TECH_APP_ARTILLERY_6_4_DESC
			
			required = { 14203 14307 }
			chance = 90
			cost = 12
			time = 150
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = fuel_consumption which = artillery when = now value = 0.2 }
				command = { type = speed which = artillery when = now value = 1 }
			}
		}
		application = { # Self-Propelled Anti-Air 20mm+
			id = 14805
			name = "SP Anti-Air 20mm+"
			desc = TECH_APP_ARTILLERY_9_5_DESC
			
			required = { 14203 14012 14204 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = air_attack which = armor when = on_upgrade value = 2 }
				command = { type = air_defense which = armor when = on_upgrade value = 1 }
				command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
				command = { type = fuel_consumption which = armor when = on_upgrade value = 0.2 }
				command = { type = air_attack which = mechanized when = on_upgrade value = 2 }
				command = { type = air_defense which = mechanized when = on_upgrade value = 1 }
				command = { type = supply_consumption which = mechanized when = on_upgrade value = 0.1 }
				command = { type = fuel_consumption which = mechanized when = on_upgrade value = 0.2 }
			}
		}
		application = { # Self-Propelled Anti-Air 37mm+
			id = 14806
			name = "SP Anti-Air 37mm+"
			desc = TECH_APP_ARTILLERY_9_6_DESC
			
			required = { 14203 14013 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = air_attack which = armor when = on_upgrade value = 1 }
				command = { type = air_defense which = armor when = on_upgrade value = 1 }
				command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
				command = { type = fuel_consumption which = armor when = on_upgrade value = 0.2 }
				command = { type = air_attack which = mechanized when = on_upgrade value = 1 }
				command = { type = air_defense which = mechanized when = on_upgrade value = 1 }
				command = { type = supply_consumption which = mechanized when = on_upgrade value = 0.1 }
				command = { type = fuel_consumption which = mechanized when = on_upgrade value = 0.2 }
			}
		}
	} # Level 7
	
	level = { # Advanced Equipment and Ordinance
		id = 14700
		name = "Advanced Equipment and Ordinance"
		desc = TECH_LEVEL_ARTILLERY_8_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Very Advanced Tank Gun Ammunition
			id = 14401
			name = TECH_APP_ARTILLERY_5_1_NAME
			desc = TECH_APP_ARTILLERY_5_1_DESC
			
			required = { 14301 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = armor when = now value = 1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
			}
		}
		application = { # Powered Anti-Air Gun mount
			id = 14451
			name = "Powered Anti-Air Gun mount"
			desc = "Powered Anti-Air Gun mounts drastically increased the effectiveness of light anti-aircraft guns. Their primary use was on board naval vessels but some were found on ground mountings"
			
			required = { 14012 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = air_attack which = battleship when = on_upgrade value = 1 }
				command = { type = air_defense which = battleship when = on_upgrade value = 1 }
				command = { type = air_attack which = cruiser when = on_upgrade value = 1 }
				command = { type = air_defense which = cruiser when = on_upgrade value = 1 }
				command = { type = air_attack which = carrier when = on_upgrade value = 1 }
				command = { type = air_defense which = carrier when = on_upgrade value = 1 }
				command = { type = air_attack which = destroyer when = on_upgrade value = 1 }
				command = { type = air_defense which = destroyer when = on_upgrade value = 1 }
				command = { type = AA_batteries value = 1 }
			}
		}
		application = { # Radar Proximity Fuse
			id = 14701
			name = TECH_APP_ARTILLERY_8_1_NAME
			desc = TECH_APP_ARTILLERY_8_1_DESC
			
			required = { 3702 4803 } # Quality Control added
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = artillery when = now value = 1 }
				command = { type = air_attack which = anti_air when = now value = 1 }
				command = { type = air_defense which = anti_air when = now value = 1 }
				command = { type = air_attack which = battleship when = now value = 1 }
				command = { type = air_defense which = battleship when = now value = 1 }
				command = { type = air_attack which = cruiser when = now value = 1 }
				command = { type = air_defense which = cruiser when = now value = 1 }
				command = { type = air_attack which = carrier when = now value = 1 }
				command = { type = air_defense which = carrier when = now value = 1 }
				command = { type = air_attack which = destroyer when = now value = 1 }
				command = { type = air_defense which = destroyer when = now value = 1 }
			}
		}
		application = { # Basic Counter-Battery Radar
			id = 14702
			name = TECH_APP_ARTILLERY_8_2_NAME
			desc = TECH_APP_ARTILLERY_8_2_DESC
			
			required = { 3102 3702 14002 4803 } # Quality Control added
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = ground_def_eff value = -2 }
			}
		}
		application = { # Heavy Anti-Tank Prototype Tests
			id = 14550
			name = "Heavy Anti-Tank Prototype Tests"
			desc = "Advances in tank armour and speed have resulted in the demand for an anti-tank gun capable of destroying this new generation of armoured fighting vehicles"
			
			required = { 14401 14450 }
			chance = 90
			cost = 4
			time = 120
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Anti-Tank Gun 100mm+
			id = 14501
			name = TECH_APP_ARTILLERY_6_1_NAME
			desc = TECH_APP_ARTILLERY_6_1_DESC
			
			required = { 14550 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = anti_tank when = now value = 1 }
				command = { type = supply_consumption which = anti_tank when = now value = 0.1 }
				command = { type = build_time which = anti_tank when = now value = 2 }
				command = { type = deactivate which = 14502 }
			}
		}
		application = { # Anti-Tank Gun 120mm+
			id = 14502
			name = TECH_APP_ARTILLERY_6_2_NAME
			desc = TECH_APP_ARTILLERY_6_2_DESC
			
			required = { 14550 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = anti_tank when = now value = 1 }
				command = { type = supply_consumption which = anti_tank when = now value = 0.1 }
				command = { type = build_time which = anti_tank when = now value = 2 }
				command = { type = deactivate which = 14501 }
			}
		}
		application = { # Tank Gun 100mm+
			id = 14703
			name = TECH_APP_ARTILLERY_8_3_NAME
			desc = TECH_APP_ARTILLERY_8_3_DESC
			
			required = { 14550 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Anti-Air Gun 120mm+
			id = 14305
			name = TECH_APP_ARTILLERY_4_5_NAME
			desc = TECH_APP_ARTILLERY_4_5_DESC
			
			required = { 14263 14701 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = AA_batteries value = 4 }
			}
		}
		application = { # 30mm Cannons
			id = 14975
			name = "30mm+ Cannons"
			desc = "Soon, even 20mm cannons weren't enough to bring down the newest aircraft, and so, technicians looked ahead, to the 30mm cannon, which was capable of downing even the sturdiest fighter in one shot, and destroying a bomber in three. Examples included the German MK108 cannon."
			required = { 14974 12300 } # Early War combat testing as a must
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = air_attack which = fighter when = on_upgrade value = 1 }
				command = { type = tactical_attack which = fighter when = on_upgrade value = 1 }
				command = { type = tactical_attack which = dive_bomber when = on_upgrade value = 1 }
				command = { type = tactical_attack which = tactical_bomber when = on_upgrade value = 1 }
				command = { type = air_defense which = strategic_bomber when = on_upgrade value = 1 }
				command = { type = air_defense which = tactical_bomber when = on_upgrade value = 1 }
				command = { type = air_defense which = dive_bomber when = on_upgrade value = 1 }
			}
		}
		application = { # 75mm+ Reduced Recoil Cannon
			id = 14978
			name = "75mm+ Reduced Recoil Cannon"
			desc = "Even 30mm cannons in ground attack aircraft were proving to have a hard time penetrating the armor of heavy tanks, and the answer was found in a modified 75mm cannon that had reduced recoil mountings. These cannons were so heavy and cumbersome that they could only be mounted in tactical bombers. Historically, this was the German 75mm BK 7.5 and the American 75mm M-4 Cannon. Later, these cannon were modified to fit onto Advanced Light Tanks such as the American M-24 Chafee."
			required = { 14976 12301 } # Air-land battle doctrine as a must
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = tactical_attack which = tactical_bomber when = on_upgrade value = 1 }
			}
		}
	} # Level 8
	
	level = { # Mechanized Artillery Pieces
		id = 14800
		name = "Mechanized Artillery Pieces"
		desc = TECH_LEVEL_ARTILLERY_9_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Rocket Assisted Projectiles
			id = 14801
			name = TECH_APP_ARTILLERY_9_1_NAME
			desc = TECH_APP_ARTILLERY_9_1_DESC
			
			required = { 7401 14307 14650 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = soft_attack which = artillery when = now value = 1 }
				command = { type = supply_consumption which = artillery when = now value = 0.1 }
				command = { type = build_time which = artillery when = now value = 2 }
			}
		}
		application = { # Improved Counter-Battery Radar
			id = 14802
			name = TECH_APP_ARTILLERY_9_2_NAME
			desc = TECH_APP_ARTILLERY_9_2_DESC
			
			required = { 3901 14702 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = ground_def_eff value = -2 }
			}
		}
		application = { # Tank Gun 120mm+
			id = 14803
			name = TECH_APP_ARTILLERY_9_3_NAME
			desc = TECH_APP_ARTILLERY_9_3_DESC
			
			required = { 14550 }
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = { }
		}
		application = { # Self-Propelled Artillery 120mm+
			id = 14405
			name = "SP Field Artillery 120mm+"
			desc = TECH_APP_ARTILLERY_5_5_DESC
			
			required = { 14103 14203 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = soft_attack which = armor when = on_upgrade value = 1 }
				command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
				command = { type = fuel_consumption which = armor when = on_upgrade value = 0.2 }
				command = { type = soft_attack which = mechanized when = on_upgrade value = 2 }
				command = { type = supply_consumption which = mechanized when = on_upgrade value = 0.2 }
				command = { type = fuel_consumption which = mechanized when = on_upgrade value = 0.2 }
			}
		}
		application = { # Self-Propelled Artillery 150mm+
			id = 14804
			name = "SP Field Artillery 150mm+"
			desc = TECH_APP_ARTILLERY_9_4_DESC
			
			required = { 14104 14203 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = soft_attack which = armor when = on_upgrade value = 1 }
				command = { type = supply_consumption which = armor  when = on_upgrade value = 0.1 }
				command = { type = fuel_consumption which = armor when = on_upgrade value = 0.2 }
				command = { type = soft_attack which = mechanized when = on_upgrade value = 2 }
				command = { type = supply_consumption which = mechanized when = on_upgrade value = 0.2 }
				command = { type = fuel_consumption which = mechanized when = on_upgrade value = 0.2 }
			}
		}
	} # Level 9
	
	level = { # Heavy Rocket Artillery
		id = 14900
		name = TECH_LEVEL_ARTILLERY_10_NAME 
		desc = TECH_LEVEL_ARTILLERY_10_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Rocket Artillery 300mm+
			id = 14901
			name = TECH_APP_ARTILLERY_10_1_NAME
			desc = TECH_APP_ARTILLERY_10_1_DESC
			
			required = { 14704 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = soft_attack which = artillery when = on_upgrade value = 1 }
				command = { type = supply_consumption which = artillery when = on_upgrade value = 0.1 }
				command = { type = build_time which = artillery when = on_upgrade value = 2 }
				command = { type = speed which = artillery when = now value = -1 }
			}
		}
		application = { # Self-Propelled Rocket Artillery 200mm+
			id = 14902
			name = "SP Rocket Artillery 200mm+"
			desc = TECH_APP_ARTILLERY_10_2_DESC
			
			required = { 14704 14203 }
			chance = 90
			cost = 12
			time = 150
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = fuel_consumption which = artillery when = now value = 0.2 }
				command = { type = speed which = artillery when = now value = 1 }
			}
		}
	} # Level 10
	
	level = { # Semi-Modern Equipment and Ordinance
		id = 14940
		name = TECH_LEVEL_ARTILLERY_11_NAME 
		desc = TECH_LEVEL_ARTILLERY_11_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Revolver Cannon
			id = 14220
			name = "Revolver Cannons"
			desc = "Towards the end of the war, Germany was working on a new concept called the Revolver Cannon, which was based on a revolving chamber loading and unloading the shells instead of a linear back-and-forth bolt action. It allowed rates of fire exceeding 1,000+ rounds a minute, compared to a mere 600-700 for conventional cannon. Historically, this was the German MG213C."
			required = { 14975 12502 4803 } # Air superiority as a must
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = air_attack which = fighter when = on_upgrade value = 2 }
				command = { type = tactical_attack which = fighter when = on_upgrade value = 2 }
				command = { type = tactical_attack which = dive_bomber when = on_upgrade value = 2 }
				command = { type = tactical_attack which = tactical_bomber when = on_upgrade value = 2 }
				command = { type = air_defense which = strategic_bomber when = on_upgrade value = 2 }
				command = { type = air_defense which = tactical_bomber when = on_upgrade value = 2 }
				command = { type = air_defense which = dive_bomber when = on_upgrade value = 2 }
			}
		}
		application = { # Semi-Modern Tank Gun Ammunition
			id = 14941
			name = TECH_APP_ARTILLERY_11_1_NAME
			desc = TECH_APP_ARTILLERY_11_1_DESC
			
			required = { 8942 14401 4803 } # Quality Control added
			chance = 90
			cost = 8
			time = 90
			neg_offset = 20
			pos_offset = 40
			
			effects = {
				command = { type = hard_attack which = armor when = now value = 1 }
				command = { type = hard_attack which = anti_tank when = now value = 1 }
			}
		}
		application = { # Tank Gun 150mm+
			id = 14942
			name = TECH_APP_ARTILLERY_11_2_NAME
			desc = TECH_APP_ARTILLERY_11_2_DESC
			
			required = { 14550 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { }
			}
		}
		application = { # Anti-Air Gun 50mm+
			id = 14945
			name = "Anti-Air Gun 50mm+"
			desc = "The 50+mm Anti-Air gun gave light AA units a more powerful, harder hitting gun that could reach out farther than the old 40mm guns. Historically, this was the Russian 57 mm S60 cannon."
			
			required = { 14264 14451 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = air_attack which = infantry when = now value = 1 }
				command = { type = air_defense which = infantry when = now value = 1 }
				command = { type = air_attack which = motorized when = now value = 1 }
				command = { type = air_defense which = motorized when = now value = 1 }
				command = { type = air_attack which = mechanized when = now value = 1 }
				command = { type = air_defense which = mechanized when = now value = 1 }
				command = { type = air_attack which = armor when = now value = 1 }
				command = { type = air_defense which = armor when = now value = 1 }
				command = { type = air_attack which = paratrooper when = now value = 1 }
				command = { type = air_defense which = paratrooper when = now value = 1 }
				command = { type = air_attack which = bergsjaeger when = now value = 1 }
				command = { type = air_defense which = bergsjaeger when = now value = 1 }
				command = { type = air_attack which = marine when = now value = 1 }
				command = { type = air_defense which = marine when = now value = 1 }
				command = { type = air_attack which = anti_air when = now value = 1 }
				command = { type = air_defense which = anti_air when = now value = 1 }
				command = { type = build_time which = anti_air when = now value = 2 }
				command = { type = AA_batteries value = 3 }
			}
		}
	} # Level 11
	
	level = { # Semi-Modern Artillery Pieces
		id = 14970
		name = TECH_LEVEL_ARTILLERY_12_NAME 
		desc = TECH_LEVEL_ARTILLERY_12_DESC 
							
		cost = 10
		time = 360
		neg_offset = 45
		pos_offset = 90

		application = { # Self-Propelled Artillery 170mm+
			id = 14971
			name = "SP Field Artillery 170mm+"
			desc = TECH_APP_ARTILLERY_12_1_DESC
			
			required = { 14302 14203 }
			chance = 90
			cost = 10
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = fuel_consumption which = artillery when = on_upgrade value = 0.2 }
				command = { type = build_time which = artillery when = now value = 2 }
				command = { type = speed which = artillery when = on_upgrade value = 1 }
			}
		}
		application = { # Self-Propelled Rocket Artillery 300mm+
			id = 14972
			name = "SP Rocket Artillery 300mm+"
			desc = TECH_APP_ARTILLERY_12_2_DESC
			
			required = { 14901 14203 }
			chance = 90
			cost = 12
			time = 150
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = fuel_consumption which = artillery when = now value = 0.2 }
				command = { type = speed which = artillery when = now value = 1 }
			}
		}
		application = { # Self-Propelled Anti-Air 30mm+
			id = 14983
			name = "Advanced SP Anti-Air 30mm+"
			desc = "Further research and development into self-propelled AA systems corrected the faults of the earlier systems, making the new ones more deadly. Historically, this was the German Flakpanzer IV (3cm) Kugelblitz."
			
			required = { 14203 14013 14805 14451 }
			chance = 90
			cost = 12
			time = 150
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = air_attack which = anti_air when = on_upgrade value = 1 }
				command = { type = air_defense which = anti_air when = on_upgrade value = 1 }
				command = { type = fuel_consumption which = anti_air when = on_upgrade value = 0.1 }
				command = { type = supply_consumption which = anti_air when = on_upgrade value = 0.1 }
				command = { type = speed which = anti_air when = on_upgrade value = 1 }
				command = { type = build_time which = anti_air when = now value = 2 }
				command = { type = deactivate which = 14984 }
				command = { type = deactivate which = 14986 }
			}
		}
		application = { # Self-Propelled Anti-Air 40mm+
			id = 14984
			name = "Advanced SP Anti-Air 40mm+"
			desc = "Further research and development into self-propelled AA systems corrected the faults of the earlier systems, making the new ones more deadly. Historically, this was the American M-42 Duster."
			
			required = { 14203 14106 14805 14451 }
			chance = 90
			cost = 12
			time = 120
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = fuel_consumption which = anti_air when = on_upgrade value = 0.1 }
				command = { type = supply_consumption which = anti_air when = on_upgrade value = 0.1 }
				command = { type = speed which = anti_air when = on_upgrade value = 1 }
				command = { type = build_time which = anti_air when = now value = 2 }
				command = { type = deactivate which = 14983 }
				command = { type = deactivate which = 14986 }
			}
		}
		application = { # Self-Propelled Anti-Air 50mm+
			id = 14986
			name = "Advanced SP Anti-Air 50mm+"
			desc = "Further research and development into self-propelled AA systems corrected the faults of the earlier systems, making the new ones more deadly. This system also used the newly developed 50+mm AA Gun. Historically, this was the Russian ZSU-57-2 Sparka."
			
			required = { 14203 14945 14805 14451 }
			chance = 90
			cost = 12
			time = 140
			neg_offset = 30
			pos_offset = 60
			
			effects = {
				command = { type = fuel_consumption which = anti_air when = on_upgrade value = 0.1 }
				command = { type = supply_consumption which = anti_air when = on_upgrade value = 0.1 }
				command = { type = speed which = anti_air when = on_upgrade value = 1 }
				command = { type = build_time which = anti_air when = now value = 2 }
				command = { type = deactivate which = 14983 }
				command = { type = deactivate which = 14984 }
			}
		}

	} # Level 12
}